WSChat\WSMessage A

Total Complexity 58
Dependencies 12
Dependents 2
Total lines 466
Lines of code 321
Logical lines of code 166
Comment lines 53
Methods 12
Properties 0

Methods 12

Method Rating Maintainability Complexity Lines of code
get_messages()
B
31 18 116
send_message()
B
36 19 74
admin_router()
S
54 6 19
read_messages_on_start_conversation()
S
60 5 14
user_router()
S
52 3 25
init()
S
56 1 17
get_agent_unread_count()
S
64 1 12
read_all()
S
63 1 11
add_message()
S
67 1 7
add_info_on_chat_has_been_ended()
S
63 1 10
add_info_on_participant_has_joined_the_channel()
S
65 1 8
add_info_on_agent_is_deassigned_from_the_channel()
S
65 1 8